Optimal. Leaf size=45 \[ \frac {\left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )^4}{4 B n (b c-a d)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 45, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 40, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.025, Rules used = {6686} \[ \frac {\left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )^4}{4 B n (b c-a d)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6686
Rubi steps
\begin {align*} \int \frac {\left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^3}{(a+b x) (c+d x)} \, dx &=\frac {\left (A+B \log \left (e (a+b x)^n (c+d x)^{-n}\right )\right )^4}{4 B (b c-a d) n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.02, size = 43, normalized size = 0.96 \[ \frac {\left (B \log \left (e (a+b x)^n (c+d x)^{-n}\right )+A\right )^4}{4 (b B c n-a B d n)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.80, size = 375, normalized size = 8.33 \[ \frac {B^{3} n^{3} \log \left (b x + a\right )^{4} + B^{3} n^{3} \log \left (d x + c\right )^{4} + 4 \, {\left (B^{3} n^{2} \log \relax (e) + A B^{2} n^{2}\right )} \log \left (b x + a\right )^{3} - 4 \, {\left (B^{3} n^{3} \log \left (b x + a\right ) + B^{3} n^{2} \log \relax (e) + A B^{2} n^{2}\right )} \log \left (d x + c\right )^{3} + 6 \, {\left (B^{3} n \log \relax (e)^{2} + 2 \, A B^{2} n \log \relax (e) + A^{2} B n\right )} \log \left (b x + a\right )^{2} + 6 \, {\left (B^{3} n^{3} \log \left (b x + a\right )^{2} + B^{3} n \log \relax (e)^{2} + 2 \, A B^{2} n \log \relax (e) + A^{2} B n + 2 \, {\left (B^{3} n^{2} \log \relax (e) + A B^{2} n^{2}\right )} \log \left (b x + a\right )\right )} \log \left (d x + c\right )^{2} + 4 \, {\left (B^{3} \log \relax (e)^{3} + 3 \, A B^{2} \log \relax (e)^{2} + 3 \, A^{2} B \log \relax (e) + A^{3}\right )} \log \left (b x + a\right ) - 4 \, {\left (B^{3} n^{3} \log \left (b x + a\right )^{3} + B^{3} \log \relax (e)^{3} + 3 \, A B^{2} \log \relax (e)^{2} + 3 \, A^{2} B \log \relax (e) + A^{3} + 3 \, {\left (B^{3} n^{2} \log \relax (e) + A B^{2} n^{2}\right )} \log \left (b x + a\right )^{2} + 3 \, {\left (B^{3} n \log \relax (e)^{2} + 2 \, A B^{2} n \log \relax (e) + A^{2} B n\right )} \log \left (b x + a\right )\right )} \log \left (d x + c\right )}{4 \, {\left (b c - a d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (B \log \left (\frac {{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right ) + A\right )}^{3}}{{\left (b x + a\right )} {\left (d x + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 35.35, size = 64288, normalized size = 1428.62 \[ \text {output too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.78, size = 766, normalized size = 17.02 \[ B^{3} {\left (\frac {\log \left (b x + a\right )}{b c - a d} - \frac {\log \left (d x + c\right )}{b c - a d}\right )} \log \left (\frac {{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right )^{3} + 3 \, A B^{2} {\left (\frac {\log \left (b x + a\right )}{b c - a d} - \frac {\log \left (d x + c\right )}{b c - a d}\right )} \log \left (\frac {{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right )^{2} + 3 \, A^{2} B {\left (\frac {\log \left (b x + a\right )}{b c - a d} - \frac {\log \left (d x + c\right )}{b c - a d}\right )} \log \left (\frac {{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right ) - \frac {1}{4} \, B^{3} {\left (\frac {6 \, {\left (e n \log \left (b x + a\right )^{2} - 2 \, e n \log \left (b x + a\right ) \log \left (d x + c\right ) + e n \log \left (d x + c\right )^{2}\right )} \log \left (\frac {{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right )^{2}}{{\left (b c - a d\right )} e} - \frac {\frac {4 \, {\left (e^{2} n^{2} \log \left (b x + a\right )^{3} - 3 \, e^{2} n^{2} \log \left (b x + a\right )^{2} \log \left (d x + c\right ) + 3 \, e^{2} n^{2} \log \left (b x + a\right ) \log \left (d x + c\right )^{2} - e^{2} n^{2} \log \left (d x + c\right )^{3}\right )} \log \left (\frac {{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right )}{{\left (b c - a d\right )} e} - \frac {e^{3} n^{3} \log \left (b x + a\right )^{4} - 4 \, e^{3} n^{3} \log \left (b x + a\right )^{3} \log \left (d x + c\right ) + 6 \, e^{3} n^{3} \log \left (b x + a\right )^{2} \log \left (d x + c\right )^{2} - 4 \, e^{3} n^{3} \log \left (b x + a\right ) \log \left (d x + c\right )^{3} + e^{3} n^{3} \log \left (d x + c\right )^{4}}{{\left (b c - a d\right )} e^{2}}}{e}\right )} + A^{3} {\left (\frac {\log \left (b x + a\right )}{b c - a d} - \frac {\log \left (d x + c\right )}{b c - a d}\right )} - A B^{2} {\left (\frac {3 \, {\left (e n \log \left (b x + a\right )^{2} - 2 \, e n \log \left (b x + a\right ) \log \left (d x + c\right ) + e n \log \left (d x + c\right )^{2}\right )} \log \left (\frac {{\left (b x + a\right )}^{n} e}{{\left (d x + c\right )}^{n}}\right )}{{\left (b c - a d\right )} e} - \frac {e^{2} n^{2} \log \left (b x + a\right )^{3} - 3 \, e^{2} n^{2} \log \left (b x + a\right )^{2} \log \left (d x + c\right ) + 3 \, e^{2} n^{2} \log \left (b x + a\right ) \log \left (d x + c\right )^{2} - e^{2} n^{2} \log \left (d x + c\right )^{3}}{{\left (b c - a d\right )} e^{2}}\right )} - \frac {3 \, {\left (e n \log \left (b x + a\right )^{2} - 2 \, e n \log \left (b x + a\right ) \log \left (d x + c\right ) + e n \log \left (d x + c\right )^{2}\right )} A^{2} B}{2 \, {\left (b c - a d\right )} e} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.75, size = 141, normalized size = 3.13 \[ -\frac {\frac {3\,A^2\,B\,{\ln \left (\frac {e\,{\left (a+b\,x\right )}^n}{{\left (c+d\,x\right )}^n}\right )}^2}{2}+A\,B^2\,{\ln \left (\frac {e\,{\left (a+b\,x\right )}^n}{{\left (c+d\,x\right )}^n}\right )}^3+\frac {B^3\,{\ln \left (\frac {e\,{\left (a+b\,x\right )}^n}{{\left (c+d\,x\right )}^n}\right )}^4}{4}}{n\,\left (a\,d-b\,c\right )}+\frac {A^3\,\mathrm {atan}\left (\frac {a\,d\,1{}\mathrm {i}+b\,c\,1{}\mathrm {i}+b\,d\,x\,2{}\mathrm {i}}{a\,d-b\,c}\right )\,2{}\mathrm {i}}{a\,d-b\,c} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________